<html>

<head>
 <script type="text/javascript"  src="WdatePicker.js"></script>
</head>

<body>
<input id="d12" type="text" onfocus="new WdatePicker(this,'%Y-%M-%D ',true,'whyGreen')" />
<img  src="../skin/datePicker.gif" width="16" height="22" align="absmiddle">
</body>
</html>